package com.xb.health.pojo.mgo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document
public class MongoUser {
    @Id
    private Long id;
    private String userName;
    private String realName;
    private String password;
    private String phone;
    private Integer age;
    private String avatar;
    private Integer status;
    private Boolean online;
    private Date createTime;
}
